export const Tools={
	randomColor(){
		// 随机生成 rgb 值，每个颜色值在 0 - 255 之间
		var r = random(0, 256),
			g = random(0, 256),
			b = random(0, 256);
		// 连接字符串的结果
		var res = "rgb("+ r +","+ g +","+ b +")";
		// 返回结果
		// console.log(res)
		return res;
	}
	
};
function random(lower, upper) {
		return Math.floor(Math.random() * (upper - lower + 1)) + lower;
}